package com.lizy.service.impl;

import com.lizy.service.Strategy;

/**
 * @author : Li
 * @date : 2024-10-09 14:03
 * @description :
 **/
public class StrategyImpl implements Strategy {
    @Override
    public int deOperation1(int num1, int num2) {
        return num1 + num2;
    }

    @Override
    public int deOperation2(int num1, int num2) {
        return num1 - num2;
    }

    @Override
    public int deOperation3(int num1, int num2) {
        return num1 * num2;
    }

    @Override
    public int deOperation4(int num1, int num2) {
        return num1 / num2;
    }
}
